package com.csjbot.snowbot_rogue.Events;

/**
 * Copyright (c) 2016, SuZhou CsjBot. All Rights Reserved.
 * www.csjbot.com
 * <p>
 * Created by 浦耀宗 at 2016/12/22 0022-14:47.
 * Email: puyz@csjbot.com
 */

public class EventsConstants {
    public class AIUIEvents {
        //强制睡眠，例：退下吧
        public static final int AIUI_EVENT_FORCE_SLEEP = 1;
        //超时休眠
        public static final int AIUI_EVENT_TIME_OUT_SLEEP = 2;
        //唤醒
        public static final int AIUI_EVENT_WAKEUP = 3;
        //service不一致
        public static final int AIUI_EVENT_SERVICE_COMMING = 4;
        //摸头
        public static final int AIUI_EVENT_TOUCH_GET = 5;
        //获取AIUI的WiFi信息、状态
        public static final int AIUI_EVENT_WIFI_GET = 6;
        //拍照
        public static final int AIUI_EVENT_CAMERA_ACTION = 7;
        //rc=4的时候做了相应的解析
        public static final int AIUI_EVENT_OTHER_CMD = 8;
        //说话结束
        public static final int AIUI_EVENT_VOICE_END = 9;
        public static final int AIUI_EVENT_VOICE_START = 10;

        //当sub=nlp时
        public static final int AIUI_EVENT_SUB_NLP = 9;

        //music control指令
        public static final int MUSICX_MUSIC_CRTL = 1001;
        //news activity新闻结束,继续播放下一首
        public static final int MUSICX_NEWS_END = 1002;
        //正在播放的新闻activity finish
        public static final int MUSICX_NEWSBEAN_RESTART = 1003;
        //正在播放的故事activity，准备播放乌鸦喝水
        public static final int MUSICX_STORY_CROW = 1004;
        //正在播放的故事乌鸦喝水，准备播放其他故事
        public static final int MUSICX_STORY_DATA = 1005;


        //回答的话answerText
        public static final int AIUI_ANSWERTEXT_DATA = 1100;
        //用户说的话speakText
        public static final int AIUI_SPEAKTEXT_DATA = 1102;
        //用户说的话所对应的rc
        public static final int AIUI_SPEAKTEXT_RC = 1103;
    }

    public class SerialportEvents {
        public static final int ACTION_SERIAL_SEND_OK = 2000;
    }

    public class ExpressionEvent {
        public static final int ACTION_CHANGE_FACE_COLOR = 3000;
    }
}
